package icu.lookyousmileface.service.lmpl;

import icu.lookyousmileface.mapper.UserMapper;
import icu.lookyousmileface.pojo.User;
import icu.lookyousmileface.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author starrysky
 * @title: UserServiceImpl
 * @projectName spring-shiro-parent
 * @description: service lmpl layer
 * @date 2021/2/1023:13
 */
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserMapper userMapper;

    @Override
    public User queryUserByName(String name) {
        return userMapper.queryUserByName(name);
    }
}
